home *** CD-ROM | disk | FTP | other *** search
/ No Fragments Archive 12: Textmags & Docs / nf_archive_12.iso / MAGS / SOURCES / ATARI_SRC.ZIP / atari source / AHDI / IDEINST / DEFS.H < prev    next >
Encoding:
C/C++ Source or Header  |  2001-02-09  |  976 b   |  41 lines

  1. /* defs.h */
  2.  
  3. #define    DVRSOURCE "SHDRIVER.RAW" /* hard disk driver */
  4. #define    DVRNAME  ":\\SHDRIVER.SYS" /* driver destination on hard disk */
  5. #define    OLDDVR  ":\\SH204DVR.SYS" /* old driver */
  6. #define    RESOURCEFILE "HINSTALL.RSC"    /* resource file for HINSTALL */
  7.  
  8. #define    BUFSIZ    10240L
  9.  
  10. #define WI_KIND        0        /* window to be opened on screen */
  11.  
  12. #define MAXPHYSDEVS    8        /* max #devs on DMA bus */
  13. #define    MAXLOGDEVS    14        /* max # logical block devices */
  14. #define    NPARTS        4        /* #partitions in root block */
  15.  
  16. #define    NULL    0L
  17. #define    LONG    long
  18. #define    WORD    int
  19. #define UWORD    unsigned int
  20. #define    BYTE    char
  21.  
  22. #define    SECTOR    LONG
  23.  
  24. #define    OFF        0
  25. #define ON        1
  26.  
  27. #define    NO        0
  28. #define YES        1
  29.  
  30. #define    FALSE        0
  31. #define TRUE        1
  32.  
  33. #define    OK        0
  34. #define    ERROR        (-1)
  35. #define BAILOUT        (-2)
  36.  
  37. #define    BOOTDEV        0x446        /* address of boot device */
  38. #define    PUNPTR        0x516        /* address of pun pointer */
  39.  
  40. #define    AHDI        0x41484449  /* hex value of 'AHDI' */
  41.